from django.conf.urls import url

from apis import weather
from apis.weather.menu import get_menu
from apis.weather.image import image

from apis.weather import views, menu, image, service

urlpatterns = [
    # 菜单
    url('menu', menu.get_menu, name='menu'),

    url('imagetext', image.image_text, name='imagetext'),
    # 类视图测试
    url('image', image.ImageView.as_view(), name='image'),
    # 图片列表
    url('image/list', image.ImageListView.as_view(), name='imagelist'),
    # 星座运势
    url('constellation', service.constellation, name='constellation'),
    # 笑话大全
    url('joke', service.joke, name='joke'),

]
